package com.walter.redis.tools.autoconfigure.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author Walter
 * @date 2025/1/20 下午12:58
 **/
@Data
@Configuration
@ConfigurationProperties(prefix = "spring.redis")
public class RedisConfigProp {
    private String host;
    private int port;
    private String password;
    private Integer database = 0;
}
